@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './element-variables.scss';
@import './sidebar.scss';
@import './button.scss';
@import './table.scss';


body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 滚动条样式
::-webkit-scrollbar-track-piece {
  background: #EFEFEF;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-thumb {
  background: #C7D1DA;
  border-radius: 3.5px;
}

//弹性
.u-flex{
  display: flex;
  align-items: center;
}

//detail card
#slide{
    .el-card__header,.el-card__body{
      padding: 0 !important;
    }

    .clearfix{
      padding: 18px 20px;
    }

    .d-container-bd{
      margin-top: 15px;
      -webkit-box-flex: 1;
      -ms-flex: 1;
      flex: 1;
      overflow: hidden;
      background-color: #fff;
  }
}

// 可访问
.can-visit,
.can-visit--underline {
  color: $--color-primary !important;
  cursor: pointer
}

.can-visit--bold {
  font-weight: bold;
}

.header-can-visit-backgroud {
  background-color: #ebeef5 !important;
}


.can-visit--underline:hover {
  text-decoration: underline;
}

.can-visit-default {
  cursor: pointer
}

.can-visit-default:hover {
  color: $--color-primary !important;
}

/**弹窗*/
.el-dialog{
  display: flex;
  flex-direction: column;
  margin:0 !important;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-height:calc(100% - 50px);
  max-width:calc(100% - 30px);
}
.el-dialog .el-dialog__body{
  flex:1;
  overflow: auto;
}
.el-dialog .el-dialog__body::-webkit-scrollbar {
  display: none;
}